package gxt.visual.resource;

public abstract class SharedExternalResource< E > extends SharedResource< E >{
	
	protected SharedExternalResource(){
		super();
	}
	
	// 
	@Override
	protected final void initializeResources(){
		//
	}
	
	/**
	 * @param resourceToSet - IS checked for null
	 */
	public final void setResource( final E resourceToSet ){
		if( resourceToSet == null ){
			throw new NullPointerException();
		}
		
		this.resource = resourceToSet;
		// if the type of this shared resource is simple, then trigger the transition to the next state
	}
	
}
